<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div id="dlg1" class="easyui-dialog" title="选择用户所在的部门" style="width:660px;height:460px;" closed="true"
       data-options="
       resizable:true,
       modal:true,
       buttons:[{
			text:'选择',
			iconCls:'icon-ok',
			handler:function(){ChooseDept()}
		},{
			text:'关闭',
			iconCls:'icon-cancel',
			handler:function(){closeDeptChooseDialog()}
		}]
 "> 
<table id="treeGrid1" class="easyui-treegrid"
	data-options="
		url: 'dept/list',
		method: 'get',
		rownumbers: true,
		idField: 'id',
		treeField: 'name',
		collapseAll:3
	">
	<thead>
		<tr>
			<th data-options="field:'id',width:80">ID</th>
			<th data-options="field:'name',width:300">部门名称</th>
			<th data-options="field:'description',width:200,align:'right'">描述</th>
		</tr>
	</thead>
</table>
</div>